package com.winter.mapper;

import com.winter.model.NewExpertForum;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewExpertForumMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewExpertForum record);

    int insertSelective(NewExpertForum record);

    NewExpertForum selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewExpertForum record);

    int updateByPrimaryKey(NewExpertForum record);

    List<NewExpertForum> queryByUserId(@Param("userId") Long userId);
}